package beanFactory;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;


public class RequestActionMap {
	private static Map map=null;
	public RequestActionMap() {
		super();
		init();
	}
	private void init(){
		if(map==null){			
			map=new HashMap();
			map.put("mode1cmd", "cmd.mode1cmd");
			map.put("mode2cmd", "cmd.mode2cmd");
			map.put("mode1", "mode.mode1");
			map.put("mode2", "mode.mode2");
			map.put("back1", "WEB-INF/jsp/back1.jsp");
		}
	}
	public String getClassUrl(String reqKey){
		return (String) map.get(reqKey);
	}
}
